package com.elai.operate.domain;

import com.elai.common.annotation.Excel;
import com.elai.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 推送通道管理对象 operate_channel_config
 * 
 * @author elai
 * @date 2021-10-18
 */
public class OperateChannelConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Integer id;

    /** 通道预制类型 */
    @Excel(name = "通道预制类型")
    private String isPreset;

    /** 推送类型 */
    @Excel(name = "推送类型")
    private String pushType;

    /** 通道服务编码 */
    @Excel(name = "通道服务编码")
    private String channelServiceCode;

    /** 通道服务名称 */
    @Excel(name = "通道服务名称")
    private String channelServiceName;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 是否可用Y可用N不可用 */
    @Excel(name = "是否可用Y可用N不可用")
    private String status;

    private String paramJson;

    public String getParamJson() {
        return paramJson;
    }

    public void setParamJson(String paramJson) {
        this.paramJson = paramJson;
    }

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setIsPreset(String isPreset) 
    {
        this.isPreset = isPreset;
    }

    public String getIsPreset() 
    {
        return isPreset;
    }
    public void setPushType(String pushType) 
    {
        this.pushType = pushType;
    }

    public String getPushType() 
    {
        return pushType;
    }
    public void setChannelServiceCode(String channelServiceCode) 
    {
        this.channelServiceCode = channelServiceCode;
    }

    public String getChannelServiceCode() 
    {
        return channelServiceCode;
    }
    public void setChannelServiceName(String channelServiceName) 
    {
        this.channelServiceName = channelServiceName;
    }

    public String getChannelServiceName() 
    {
        return channelServiceName;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("isPreset", getIsPreset())
            .append("pushType", getPushType())
            .append("channelServiceCode", getChannelServiceCode())
            .append("channelServiceName", getChannelServiceName())
            .append("description", getDescription())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
